<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@taglib prefix="s" uri="/struts-tags"%>
<HTML>
	<HEAD>
		<TITLE>Untitled Page</TITLE>
		<META http-equiv=Content-Type content="text/html; charset=utf-8">
		<META content="MSHTML 6.00.2900.5848" name=GENERATOR>
		<link href="../css/public.css" rel="stylesheet" style="text/css">
   </HEAD>
	<BODY style="BACKGROUND-POSITION-Y: -120px; BACKGROUND-IMAGE: url(../images/background.gif); BACKGROUND-REPEAT: repeat-x">
    <SCRIPT type=text/javascript>
		var theForm = document.forms['aspnetForm'];
		if (!theForm) {
		    theForm = document.aspnetForm;
		}
		function __doPostBack(eventTarget, eventArgument) {
		    if (!theForm.onsubmit || (theForm.onsubmit() != false)) {
		        theForm.__EVENTTARGET.value = eventTarget;
		        theForm.__EVENTARGUMENT.value = eventArgument;
		        theForm.submit();
		    }
		}
		function addlist(productId){
		  var num = document.getElementById("num"+productId).value; 
		  location.href="ask_addlist?productid="+productId+"&num="+num; 
		}
		function turnpage(){
		 var curpage=document.getElementById("curpage").value;
		 if(isNaN(curpage)){
		  window.location.href="order_findUserAll.action?pb.pageon=1"
		 }
		 else{
		 window.location.href="order_findUserAll.action?pb.pageon="+curpage;
		 }
		
		}
</SCRIPT>
<SCRIPT src="EmployeeMgr.files/WebResource.axd" type=text/javascript>
</SCRIPT>
<SCRIPT src="EmployeeMgr.files/ScriptResource.axd" type=text/javascript>
</SCRIPT>
<SCRIPT src="/EmployeeMgr.files/ScriptResource(1).axd" type=text/javascript>
</SCRIPT>
	<div id="layer4">
	  <form name="form1" method="post" action="">
	    <TABLE height="100%" cellSpacing=0 cellPadding=0 width="100%" border=0>
          <TBODY>
            <TR
						style="BACKGROUND-IMAGE: url(../images/bg_header.gif); BACKGROUND-REPEAT: repeat-x"
						height=47>
              <TD width=15 height="47"><SPAN
								style="FLOAT: left; BACKGROUND-IMAGE: url(../images/main_hl.gif); WIDTH: 15px; BACKGROUND-REPEAT: no-repeat; HEIGHT: 47px"> </SPAN> </TD>
              <TD width="1280"><SPAN
								style="FLOAT: left; BACKGROUND-IMAGE: url(../images/main_hl2.gif); WIDTH: 15px; BACKGROUND-REPEAT: no-repeat; HEIGHT: 47px"> </SPAN> <SPAN
								style="PADDING-RIGHT: 10px; PADDING-LEFT: 10px; FLOAT: left; BACKGROUND-IMAGE: url(../images/main_hb.gif); PADDING-BOTTOM: 10px; COLOR: white; PADDING-TOP: 10px; BACKGROUND-REPEAT: repeat-x; HEIGHT: 47px; TEXT-ALIGN: center; 0 px: "> <a href="ask_add.jsp">选择询价人</a> </SPAN><SPAN
								style="FLOAT: left; BACKGROUND-IMAGE: url(../images/main_hr.gif); WIDTH: 60px; BACKGROUND-REPEAT: no-repeat; HEIGHT: 47px"></SPAN> </TD>
              <TD
							style="BACKGROUND-POSITION: 50% bottom; BACKGROUND-IMAGE: url(../images/main_rc.gif)"
							width=1></TD>
            </TR>
            <TR>
              <TD style="BACKGROUND-IMAGE: url(../images/main_ls.gif)">&nbsp;</TD>
              <TD
							style="PADDING-RIGHT: 10px; PADDING-LEFT: 10px; PADDING-BOTTOM: 10px; COLOR: #566984; PADDING-TOP: 10px; BACKGROUND-COLOR: white"
							vAlign=top align="left">
					       <table width="100%" border="0">
              <tr>
                <td width="5%">姓名</td>
                <td width="11%">&nbsp;</td>
                <td width="7%">联系方式</td>
                <td width="16%" align="center">&nbsp;</td>
                <td width="6%">通讯地址</td>
                <td width="20%">&nbsp;</td>
                <td width="7%">&nbsp;</td>
                <td width="13%">&nbsp;</td>
                <td width="15%" align="center"><label>
                  <input name="Submit4" type="button" class="textbox" value="查询">
                </label></td>
              </tr>
            </table>
            <TABLE class=gridView11 style="WIDTH: 100%; " cellSpacing=0
									 border=1 >
              <TBODY>
                <TR>
                  <TH width="50" class=gridViewHeader style="WIDTH: 50px" scope=col>&nbsp; </TH>
                  <TH width="144" class=gridViewHeader scope=col>姓名</TH>
                  <TH width="97" class=gridViewHeader scope=col>性别</TH>
                  <TH width="77" class=gridViewHeader scope=col>年龄</TH>
                  <TH width="142" class=gridViewHeader scope=col>联系方式</TH>
                  <TH width="85" class=gridViewHeader scope=col>通讯地址</TH>
                  <TH class=gridViewHeader scope=col>备注</TH>
                  <TH class=gridViewHeader scope=col>操作</TH>
                </TR>
                <s:iterator value="pb.list">
                
                	<TR>
                  <TD class=gridViewItem style="WIDTH: 50px"><IMG src="EmployeeMgr.files/bg_users.gif"> </TD>
                  <TD class=gridViewItem><s:property value="name"/></TD>
                  <TD class=gridViewItem><s:property value="sex"/></TD>
                  <TD class=gridViewItem><s:property value="age"/></TD>
                  <TD class=gridViewItem><s:property value="telephone"/></TD>
                  <TD class=gridViewItem><s:property value="address"/></TD>
                  <TD class=gridViewItem><s:property value="remarks"/></TD>
                  <TD class=gridViewItem><label>
                    <input name="Submit4" type="button" class="hyperLink" value="选择" onClick="location.href='order_findUserbyId.action?userId=<s:property value="id"/>'">
                  </label></TD>
                </TR>
                </s:iterator>
                <tr>
                  <td colspan="9" align="right" class=gridViewHeader>
               		 总共有<s:property value="pb.totalitem"/>条记录
                                                      每页<s:property value="pb.pagesize"/>条记录
                                                     当前为第<s:property value="pb.pageon"/>页/
                                                      总共有<s:property value="pb.totalpage"/>页 
                    <a href="order_findUserAll.action?pb.pageon=1">第一页</a>
                     <a href="order_findUserAll.action?pb.pageon=<s:property value='pb.prep'/>">上一页</a>
                      <a href="order_findUserAll.action?pb.pageon=<s:property value='pb.nextp'/>">下一页</a> 
                      <a href="order_findUserAll.action?pb.pageon=<s:property value='pb.totalpage'/>">最后一页</a> 
                                                           转到第<input name="text2" id="curpage" type="text" id="text"/> 页
                    <input name="submit2" type="submit" class=textbox onClick="javascript:turnpage()" value="Go"/>
                  </td>
                </tr>
              </TBODY>
            </TABLE>
							
							
				</TD>
              <TD style="BACKGROUND-IMAGE: url(../images/main_rs.gif)"></TD>
            </TR>
            <TR
						style="BACKGROUND-IMAGE: url(../images/main_fs.gif); BACKGROUND-REPEAT: repeat-x"
						height=10>
              <TD style="BACKGROUND-IMAGE: url(../images/main_lf.gif)"></TD>
              <TD style="BACKGROUND-IMAGE: url(../images/main_fs.gif)"></TD>
              <TD style="BACKGROUND-IMAGE: url(../images/main_rf.gif)"></TD>
            </TR>
          </TBODY>
        </TABLE>
      </form>
    </DIV>					  
	</BODY>
</HTML>
